$def with (message)
$#
$# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for
$# more information about the licensing of this file.
$#
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="INGInious">
    <meta name="author" content="">
    <link rel="icon" href="$get_homepath(True)/static/icons/favicon.ico">
    <link rel="mask-icon" href="$get_homepath(True)/static/icons/wb.svg" color="#5E932E">

    <title>Internal Error | INGInious</title>

    <!-- Bootstrap -->
    <link href="$get_homepath(True)/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="$get_homepath(True)/static/css/bootstrap-datetimepicker.min.css" rel="stylesheet">

    <!-- Font Awesome -->
    <link href="$get_homepath(True)/static/css/font-awesome.min.css" rel="stylesheet">

    <!-- INGInious Style -->
    <link href="$get_homepath(True)/static/css/INGInious.css" rel="stylesheet">

    <!-- Icons -->
    <link rel="shortcut icon" href="$get_homepath(True)/static/icons/favicon.ico">
    <link rel="apple-touch-icon" sizes="57x57" href="$get_homepath(True)/static/icons/apple-touch-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="114x114" href="$get_homepath(True)/static/icons/apple-touch-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="72x72" href="$get_homepath(True)/static/icons/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="144x144" href="$get_homepath(True)/static/icons/apple-touch-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="60x60" href="$get_homepath(True)/static/icons/apple-touch-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="120x120" href="$get_homepath(True)/static/icons/apple-touch-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="76x76" href="$get_homepath(True)/static/icons/apple-touch-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="152x152" href="$get_homepath(True)/static/icons/apple-touch-icon-152x152.png">
    <link rel="icon" type="image/png" href="$get_homepath(True)/static/icons/favicon-196x196.png" sizes="196x196">
    <link rel="icon" type="image/png" href="$get_homepath(True)/static/icons/favicon-160x160.png" sizes="160x160">
    <link rel="icon" type="image/png" href="$get_homepath(True)/static/icons/favicon-96x96.png" sizes="96x96">
    <link rel="icon" type="image/png" href="$get_homepath(True)/static/icons/favicon-16x16.png" sizes="16x16">
    <link rel="icon" type="image/png" href="$get_homepath(True)/static/icons/favicon-32x32.png" sizes="32x32">
    <meta name="msapplication-TileColor" content="#00a300">
    <meta name="msapplication-TileImage" content="$get_homepath(True)/static/icons/mstile-144x144.png">
    <meta name="msapplication-config" content="$get_homepath(True)/static/icons/browserconfig.xml">
</head>

<body>

    <div class="navbar navbar-expand-sm bg-dark navbar-dark bg-dark">
        <div class="container-fluid">
            <a class="navbar-brand" href="$get_homepath()/index"><img src="$get_homepath(True)/static/images/header.png" alt="logo"/> INGInious</a>
        </div>
    </div>

    <div class="container-fluid" role="main" style="margin-top: 20px; margin-bottom: 65px;">
        <img src="$get_homepath(True)/static/images/logo_maintenance.png" style="margin:auto; display:block;"/>
        <div class="alert alert-danger" role="alert" style="text-align: center;">
            $:_("<b>Internal error</b> Something bad happened. The error has been logged, please contact your administrator if the error persists.")
            $if message is not None:
                <br/>
                $:message
        </div>
    </div>

    <div id="footer" class="navbar navbar-expand-sm bg-dark navbar-dark bg-dark">
        <div class="container-fluid">
            <p class="navbar-text">
                &copy; 2014-2019 Universit&eacute; catholique de Louvain
            </p>
            <p class="navbar-text">
                <a target="_blank" href="http://www.inginious.org" class="navbar-link">
                    $:_("INGInious is distributed under AGPL license")
                </a>
            </p>
        </div>
    </div>

</body>
</html>
